import { Col, Row } from 'antd'
import React from 'react'
import Nav from './components/nav'
import Header from './components/header'
import Footer from './components/footer'
// import Home from './page/home'
import './style/common.scss'
import { renderRoutes } from 'react-router-config'
import routes from './router'
export default function App() {
  return (
    <div>
      <Row className='container'>
        <Col className='nav-left' span="3">
          <Nav />
        </Col>
        <Col className='main' span="21">
          <Header />
          <Row className='content'>
            {/* <Home/> */}
            {renderRoutes(routes)}
          </Row>
          <Footer />
        </Col>
      </Row>
    </div>
  )
}
